<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Welcome to Thematic</title>

<style type="text/css">
<!--
#top {
	position:absolute;
	width:577px;
	height:36px;
	z-index:1;
	background-color: #CCFFCC;
}
#left {
	position:absolute;
	width:101px;
	height:244px;
	z-index:2;
	left: 12px;
	top: 62px;
	background-color: #FFCCFF;
}
#center {
	position:absolute;
	width:462px;
	height:243px;
	z-index:3;
	left: 125px;
	top: 62px;
	background-color: #FFFFCC;
}
-->
</style>

</head>
<body>
<!-- 工作: 此為首頁樣板, 請將留言板整合至此頁, 按下左方留言板連結, 檢查是否登入,登入後直接顯示留言板清單, 操作都在下方黃色區塊中(center) -->
<div id="top" align="right">
	<!-- <a href="default.jsp" >Home</a> -->
	<a href="Controller" >Home</a>
	<a href="ClassRoomController?acttype=classRoomList" >classRoom</a>
	<a href="LessonOpenController?acttype=lessonOpenList" >lessonOpen</a>
	<a href="JoinController?acttype=joinList" >join</a>
	
	<a href="Controller?acttype=msgPanel" >msgPanel</a>
	<a href="logout.jsp" >logout</a>
</div>
<div id="left">
  <!-- <p><a href="xx">留言板</a></p> -->
	<c:if test="${!empty left}">
		<jsp:include page="${left}"></jsp:include>
	</c:if>
</div>
<!-- 登入與留言清單都在此操作<p>請在程式中使用自己的資料庫，並建立需要的表格與測試資料。</p> -->
<div id="center">
	<c:if test="${!empty center}">
		<jsp:include page="${center}"></jsp:include>
	</c:if>
</div>
</body>
</html>